package com.itheima.edu.info.manager.controller;

import com.itheima.edu.info.manager.domain.Teacher;
import com.itheima.edu.info.manager.service.TeacherService;

import java.util.Scanner;

public class TeacherController extends BaseTeacherController{
    static TeacherService teacherService = new TeacherService();
    Scanner scanner = new Scanner(System.in);

    public Teacher getTeacher(String tid) {
        System.out.print("请输入教师name信息");
        String tname = scanner.next();
        System.out.print("请输入教师age信息");
        String tage = scanner.next();
        System.out.print("请输入教师birth信息");
        String tbirth = scanner.next();

        return new Teacher(tid, tname, tage, tbirth);
    }
}
